home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Utilities / HyperCard Player / HyperCard Player 2.4 / Home / Home / cards.xml < prev    next >
Encoding:
Text File  |  1995-03-16  |  30.2 KB  |  1,010 lines

  1. card_4594.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>4594</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_6603.pbm</bitmap>
  8.     <cantDelete> <true /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>5834</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_4802.css" />
  13.     <part>
  14.         <id>66</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <false /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <true /> </fixedLineHeight>
  21.         <autoTab> <true /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>112</left>
  25.             <top>109</top>
  26.             <right>319</right>
  27.             <bottom>131</bottom>
  28.         </rect>
  29.         <style>transparent</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <true /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>16</textHeight>
  42.         <name>User Name</name>
  43.         <script>on closeField
  44. global UserName
  45. put me into UserName
  46. end closeField
  47.  
  48. on exitField
  49. global UserName
  50. put me into UserName
  51. end exitField</script>
  52.     </part>
  53.     <part>
  54.         <id>13</id>
  55.         <type>button</type>
  56.         <visible> <true /> </visible>
  57.         <reserved5> 0 </reserved5>
  58.         <reserved4> 0 </reserved4>
  59.         <reserved3> 0 </reserved3>
  60.         <reserved2> 0 </reserved2>
  61.         <reserved1> 0 </reserved1>
  62.         <enabled> <true /> </enabled>
  63.         <rect>
  64.             <left>59</left>
  65.             <top>269</top>
  66.             <right>132</right>
  67.             <bottom>290</bottom>
  68.         </rect>
  69.         <style>transparent</style>
  70.         <showName> <true /> </showName>
  71.         <highlight> <false /> </highlight>
  72.         <autoHighlight> <true /> </autoHighlight>
  73.         <sharedHighlight> <true /> </sharedHighlight>
  74.         <family>0</family>
  75.         <titleWidth>0</titleWidth>
  76.         <icon>0</icon>
  77.         <textAlign>center</textAlign>
  78.         <font>Geneva</font>
  79.         <textSize>10</textSize>
  80.         <textStyle>bold</textStyle>
  81.         <name>Browsing</name>
  82.         <script></script>
  83.     </part>
  84.     <part>
  85.         <id>12</id>
  86.         <type>button</type>
  87.         <visible> <true /> </visible>
  88.         <reserved5> 0 </reserved5>
  89.         <reserved4> 0 </reserved4>
  90.         <reserved3> 0 </reserved3>
  91.         <reserved2> 0 </reserved2>
  92.         <reserved1> 0 </reserved1>
  93.         <enabled> <true /> </enabled>
  94.         <rect>
  95.             <left>61</left>
  96.             <top>233</top>
  97.             <right>132</right>
  98.             <bottom>254</bottom>
  99.         </rect>
  100.         <style>transparent</style>
  101.         <showName> <true /> </showName>
  102.         <highlight> <false /> </highlight>
  103.         <autoHighlight> <true /> </autoHighlight>
  104.         <sharedHighlight> <true /> </sharedHighlight>
  105.         <family>0</family>
  106.         <titleWidth>0</titleWidth>
  107.         <icon>0</icon>
  108.         <textAlign>center</textAlign>
  109.         <font>Geneva</font>
  110.         <textSize>10</textSize>
  111.         <textStyle>bold</textStyle>
  112.         <name>Typing</name>
  113.         <script></script>
  114.     </part>
  115.     <part>
  116.         <id>11</id>
  117.         <type>button</type>
  118.         <visible> <true /> </visible>
  119.         <reserved5> 0 </reserved5>
  120.         <reserved4> 0 </reserved4>
  121.         <reserved3> 0 </reserved3>
  122.         <reserved2> 0 </reserved2>
  123.         <reserved1> 0 </reserved1>
  124.         <enabled> <true /> </enabled>
  125.         <rect>
  126.             <left>61</left>
  127.             <top>198</top>
  128.             <right>132</right>
  129.             <bottom>219</bottom>
  130.         </rect>
  131.         <style>transparent</style>
  132.         <showName> <true /> </showName>
  133.         <highlight> <false /> </highlight>
  134.         <autoHighlight> <true /> </autoHighlight>
  135.         <sharedHighlight> <true /> </sharedHighlight>
  136.         <family>0</family>
  137.         <titleWidth>0</titleWidth>
  138.         <icon>0</icon>
  139.         <textAlign>center</textAlign>
  140.         <font>Geneva</font>
  141.         <textSize>10</textSize>
  142.         <textStyle>bold</textStyle>
  143.         <name>Painting</name>
  144.         <script></script>
  145.     </part>
  146.     <part>
  147.         <id>4</id>
  148.         <type>button</type>
  149.         <visible> <true /> </visible>
  150.         <reserved5> 0 </reserved5>
  151.         <reserved4> 0 </reserved4>
  152.         <reserved3> 0 </reserved3>
  153.         <reserved2> 0 </reserved2>
  154.         <reserved1> 0 </reserved1>
  155.         <enabled> <true /> </enabled>
  156.         <rect>
  157.             <left>31</left>
  158.             <top>264</top>
  159.             <right>135</right>
  160.             <bottom>295</bottom>
  161.         </rect>
  162.         <style>transparent</style>
  163.         <showName> <false /> </showName>
  164.         <highlight> <true /> </highlight>
  165.         <autoHighlight> <false /> </autoHighlight>
  166.         <sharedHighlight> <true /> </sharedHighlight>
  167.         <family>0</family>
  168.         <titleWidth>0</titleWidth>
  169.         <icon>0</icon>
  170.         <textAlign>center</textAlign>
  171.         <font>Geneva</font>
  172.         <textSize>10</textSize>
  173.         <textStyle>bold</textStyle>
  174.         <name>UserLevel 1</name>
  175.         <script>on mouseUp
  176. -- Requires handler: updateDisplay
  177. -- last word of btn name is userLevel
  178. updateDisplay (last word of short name of me) -- in card script
  179. end mouseUp</script>
  180.     </part>
  181.     <part>
  182.         <id>5</id>
  183.         <type>button</type>
  184.         <visible> <true /> </visible>
  185.         <reserved5> 0 </reserved5>
  186.         <reserved4> 0 </reserved4>
  187.         <reserved3> 0 </reserved3>
  188.         <reserved2> 0 </reserved2>
  189.         <reserved1> 0 </reserved1>
  190.         <enabled> <true /> </enabled>
  191.         <rect>
  192.             <left>31</left>
  193.             <top>229</top>
  194.             <right>135</right>
  195.             <bottom>260</bottom>
  196.         </rect>
  197.         <style>transparent</style>
  198.         <showName> <false /> </showName>
  199.         <highlight> <true /> </highlight>
  200.         <autoHighlight> <false /> </autoHighlight>
  201.         <sharedHighlight> <true /> </sharedHighlight>
  202.         <family>0</family>
  203.         <titleWidth>0</titleWidth>
  204.         <icon>0</icon>
  205.         <textAlign>center</textAlign>
  206.         <font>Geneva</font>
  207.         <textSize>10</textSize>
  208.         <textStyle>bold</textStyle>
  209.         <name>UserLevel 2</name>
  210.         <script>on mouseUp
  211. -- Requires handler: updateDisplay
  212. -- last word of btn name is userLevel
  213. updateDisplay (last word of short name of me) -- in card script
  214. end mouseUp</script>
  215.     </part>
  216.     <part>
  217.         <id>6</id>
  218.         <type>button</type>
  219.         <visible> <true /> </visible>
  220.         <reserved5> 0 </reserved5>
  221.         <reserved4> 0 </reserved4>
  222.         <reserved3> 0 </reserved3>
  223.         <reserved2> 0 </reserved2>
  224.         <reserved1> 0 </reserved1>
  225.         <enabled> <true /> </enabled>
  226.         <rect>
  227.             <left>31</left>
  228.             <top>194</top>
  229.             <right>135</right>
  230.             <bottom>225</bottom>
  231.         </rect>
  232.         <style>transparent</style>
  233.         <showName> <false /> </showName>
  234.         <highlight> <true /> </highlight>
  235.         <autoHighlight> <false /> </autoHighlight>
  236.         <sharedHighlight> <true /> </sharedHighlight>
  237.         <family>0</family>
  238.         <titleWidth>0</titleWidth>
  239.         <icon>0</icon>
  240.         <textAlign>center</textAlign>
  241.         <font>Geneva</font>
  242.         <textSize>10</textSize>
  243.         <textStyle>bold</textStyle>
  244.         <name>UserLevel 3</name>
  245.         <script>on mouseUp
  246. -- Requires handler: updateDisplay
  247. -- last word of btn name is userLevel
  248. updateDisplay (last word of short name of me) -- in card script
  249. end mouseUp</script>
  250.     </part>
  251.     <part>
  252.         <id>19</id>
  253.         <type>field</type>
  254.         <visible> <false /> </visible>
  255.         <dontWrap> <false /> </dontWrap>
  256.         <dontSearch> <false /> </dontSearch>
  257.         <sharedText> <false /> </sharedText>
  258.         <fixedLineHeight> <true /> </fixedLineHeight>
  259.         <autoTab> <false /> </autoTab>
  260.         <lockText> <false /> </lockText>
  261.         <rect>
  262.             <left>280</left>
  263.             <top>104</top>
  264.             <right>315</right>
  265.             <bottom>121</bottom>
  266.         </rect>
  267.         <style>transparent</style>
  268.         <autoSelect> <false /> </autoSelect>
  269.         <showLines> <false /> </showLines>
  270.         <wideMargins> <false /> </wideMargins>
  271.         <multipleLines> <false /> </multipleLines>
  272.         <reservedFamily> 0 </reservedFamily>
  273.         <titleWidth>0</titleWidth>
  274.         <icon>0</icon>
  275.         <textAlign>left</textAlign>
  276.         <font>Geneva</font>
  277.         <textSize>12</textSize>
  278.         <textStyle>plain</textStyle>
  279.         <textHeight>16</textHeight>
  280.         <name>user level</name>
  281.         <script></script>
  282.     </part>
  283.     <part>
  284.         <id>3</id>
  285.         <type>button</type>
  286.         <visible> <true /> </visible>
  287.         <reserved5> 0 </reserved5>
  288.         <reserved4> 0 </reserved4>
  289.         <reserved3> 0 </reserved3>
  290.         <reserved2> 0 </reserved2>
  291.         <reserved1> 0 </reserved1>
  292.         <enabled> <true /> </enabled>
  293.         <rect>
  294.             <left>323</left>
  295.             <top>201</top>
  296.             <right>423</right>
  297.             <bottom>220</bottom>
  298.         </rect>
  299.         <style>checkbox</style>
  300.         <showName> <true /> </showName>
  301.         <highlight> <false /> </highlight>
  302.         <autoHighlight> <true /> </autoHighlight>
  303.         <sharedHighlight> <true /> </sharedHighlight>
  304.         <family>0</family>
  305.         <titleWidth>0</titleWidth>
  306.         <icon>0</icon>
  307.         <textAlign>center</textAlign>
  308.         <font>Geneva</font>
  309.         <textSize>10</textSize>
  310.         <textStyle>plain</textStyle>
  311.         <name>Power Keys</name>
  312.         <script>on mouseUp
  313. set powerKeys to the hilite of me
  314. end mouseUp
  315. </script>
  316.     </part>
  317.     <part>
  318.         <id>2</id>
  319.         <type>button</type>
  320.         <visible> <true /> </visible>
  321.         <reserved5> 0 </reserved5>
  322.         <reserved4> 0 </reserved4>
  323.         <reserved3> 0 </reserved3>
  324.         <reserved2> 0 </reserved2>
  325.         <reserved1> 0 </reserved1>
  326.         <enabled> <true /> </enabled>
  327.         <rect>
  328.             <left>323</left>
  329.             <top>238</top>
  330.             <right>470</right>
  331.             <bottom>256</bottom>
  332.         </rect>
  333.         <style>checkbox</style>
  334.         <showName> <true /> </showName>
  335.         <highlight> <false /> </highlight>
  336.         <autoHighlight> <true /> </autoHighlight>
  337.         <sharedHighlight> <true /> </sharedHighlight>
  338.         <family>0</family>
  339.         <titleWidth>0</titleWidth>
  340.         <icon>0</icon>
  341.         <textAlign>center</textAlign>
  342.         <font>Geneva</font>
  343.         <textSize>10</textSize>
  344.         <textStyle>plain</textStyle>
  345.         <name>Arrow Keys in Text</name>
  346.         <script>on mouseUp
  347. set textArrows to the hilite of me
  348. end mouseUp
  349. </script>
  350.     </part>
  351.     <part>
  352.         <id>28</id>
  353.         <type>field</type>
  354.         <visible> <true /> </visible>
  355.         <dontWrap> <false /> </dontWrap>
  356.         <dontSearch> <true /> </dontSearch>
  357.         <sharedText> <false /> </sharedText>
  358.         <fixedLineHeight> <true /> </fixedLineHeight>
  359.         <autoTab> <false /> </autoTab>
  360.         <lockText> <true /> </lockText>
  361.         <rect>
  362.             <left>132</left>
  363.             <top>193</top>
  364.             <right>318</right>
  365.             <bottom>226</bottom>
  366.         </rect>
  367.         <style>transparent</style>
  368.         <autoSelect> <false /> </autoSelect>
  369.         <showLines> <false /> </showLines>
  370.         <wideMargins> <true /> </wideMargins>
  371.         <multipleLines> <false /> </multipleLines>
  372.         <reservedFamily> 0 </reservedFamily>
  373.         <titleWidth>0</titleWidth>
  374.         <icon>0</icon>
  375.         <textAlign>left</textAlign>
  376.         <font>Geneva</font>
  377.         <textSize>9</textSize>
  378.         <textStyle>plain</textStyle>
  379.         <textHeight>12</textHeight>
  380.         <name></name>
  381.         <script></script>
  382.     </part>
  383.     <part>
  384.         <id>29</id>
  385.         <type>field</type>
  386.         <visible> <true /> </visible>
  387.         <dontWrap> <false /> </dontWrap>
  388.         <dontSearch> <true /> </dontSearch>
  389.         <sharedText> <false /> </sharedText>
  390.         <fixedLineHeight> <true /> </fixedLineHeight>
  391.         <autoTab> <false /> </autoTab>
  392.         <lockText> <true /> </lockText>
  393.         <rect>
  394.             <left>132</left>
  395.             <top>228</top>
  396.             <right>316</right>
  397.             <bottom>261</bottom>
  398.         </rect>
  399.         <style>transparent</style>
  400.         <autoSelect> <false /> </autoSelect>
  401.         <showLines> <false /> </showLines>
  402.         <wideMargins> <true /> </wideMargins>
  403.         <multipleLines> <false /> </multipleLines>
  404.         <reservedFamily> 0 </reservedFamily>
  405.         <titleWidth>0</titleWidth>
  406.         <icon>0</icon>
  407.         <textAlign>left</textAlign>
  408.         <font>Geneva</font>
  409.         <textSize>9</textSize>
  410.         <textStyle>plain</textStyle>
  411.         <textHeight>12</textHeight>
  412.         <name></name>
  413.         <script></script>
  414.     </part>
  415.     <part>
  416.         <id>30</id>
  417.         <type>field</type>
  418.         <visible> <true /> </visible>
  419.         <dontWrap> <false /> </dontWrap>
  420.         <dontSearch> <true /> </dontSearch>
  421.         <sharedText> <false /> </sharedText>
  422.         <fixedLineHeight> <true /> </fixedLineHeight>
  423.         <autoTab> <false /> </autoTab>
  424.         <lockText> <true /> </lockText>
  425.         <rect>
  426.             <left>133</left>
  427.             <top>263</top>
  428.             <right>317</right>
  429.             <bottom>296</bottom>
  430.         </rect>
  431.         <style>transparent</style>
  432.         <autoSelect> <false /> </autoSelect>
  433.         <showLines> <false /> </showLines>
  434.         <wideMargins> <true /> </wideMargins>
  435.         <multipleLines> <false /> </multipleLines>
  436.         <reservedFamily> 0 </reservedFamily>
  437.         <titleWidth>0</titleWidth>
  438.         <icon>0</icon>
  439.         <textAlign>left</textAlign>
  440.         <font>Geneva</font>
  441.         <textSize>9</textSize>
  442.         <textStyle>plain</textStyle>
  443.         <textHeight>12</textHeight>
  444.         <name></name>
  445.         <script></script>
  446.     </part>
  447.     <part>
  448.         <id>48</id>
  449.         <type>button</type>
  450.         <visible> <true /> </visible>
  451.         <reserved5> 0 </reserved5>
  452.         <reserved4> 0 </reserved4>
  453.         <reserved3> 0 </reserved3>
  454.         <reserved2> 0 </reserved2>
  455.         <reserved1> 0 </reserved1>
  456.         <enabled> <true /> </enabled>
  457.         <rect>
  458.             <left>17</left>
  459.             <top>194</top>
  460.             <right>44</right>
  461.             <bottom>225</bottom>
  462.         </rect>
  463.         <style>transparent</style>
  464.         <showName> <false /> </showName>
  465.         <highlight> <false /> </highlight>
  466.         <autoHighlight> <true /> </autoHighlight>
  467.         <sharedHighlight> <true /> </sharedHighlight>
  468.         <family>0</family>
  469.         <titleWidth>0</titleWidth>
  470.         <icon>27969</icon>
  471.         <textAlign>center</textAlign>
  472.         <font>Chicago</font>
  473.         <textSize>12</textSize>
  474.         <textStyle>plain</textStyle>
  475.         <name>Arrow</name>
  476.         <script>on mouseDown
  477. -- Requires handler: updateDisplay
  478. -- this handler operates the arrow button like a slider control
  479. set cursor to arrow
  480. --
  481. put item 1 of the loc of me into slideHorz -- horz remains constant
  482. put item 2 of the loc of cd btn id 6 into slideTop -- UserLevel 3
  483. put item 2 of the loc of cd btn id 4 into slideBottom -- UserLevel 1
  484. put top of cd btn id 6 into levelTop -- UserLevel 3
  485. --
  486. repeat while the mouse is down
  487. set loc of me to ¬¨
  488. (slideHorz&","&(max(slideTop,min(slideBottom,the mouseV))))
  489. end repeat
  490. --
  491. -- calculate userLevel based on loc of slider
  492. put ((78 - (item 2 of loc of me - levelTop)) div 20) +1 into curLevel
  493. updateDisplay curLevel -- show changes
  494. end mouseDown
  495. </script>
  496.     </part>
  497.     <part>
  498.         <id>76</id>
  499.         <type>field</type>
  500.         <visible> <false /> </visible>
  501.         <dontWrap> <false /> </dontWrap>
  502.         <dontSearch> <false /> </dontSearch>
  503.         <sharedText> <false /> </sharedText>
  504.         <fixedLineHeight> <false /> </fixedLineHeight>
  505.         <autoTab> <false /> </autoTab>
  506.         <lockText> <false /> </lockText>
  507.         <rect>
  508.             <left>457</left>
  509.             <top>69</top>
  510.             <right>494</right>
  511.             <bottom>85</bottom>
  512.         </rect>
  513.         <style>rectangle</style>
  514.         <autoSelect> <false /> </autoSelect>
  515.         <showLines> <false /> </showLines>
  516.         <wideMargins> <false /> </wideMargins>
  517.         <multipleLines> <false /> </multipleLines>
  518.         <reservedFamily> 0 </reservedFamily>
  519.         <titleWidth>0</titleWidth>
  520.         <icon>0</icon>
  521.         <textAlign>left</textAlign>
  522.         <font>Geneva</font>
  523.         <textSize>9</textSize>
  524.         <textStyle>plain</textStyle>
  525.         <textHeight>12</textHeight>
  526.         <name>EnableSE</name>
  527.         <script></script>
  528.     </part>
  529.     <part>
  530.         <id>78</id>
  531.         <type>button</type>
  532.         <visible> <true /> </visible>
  533.         <reserved5> 0 </reserved5>
  534.         <reserved4> 0 </reserved4>
  535.         <reserved3> 0 </reserved3>
  536.         <reserved2> 0 </reserved2>
  537.         <reserved1> 0 </reserved1>
  538.         <enabled> <true /> </enabled>
  539.         <rect>
  540.             <left>187</left>
  541.             <top>305</top>
  542.             <right>315</right>
  543.             <bottom>331</bottom>
  544.         </rect>
  545.         <style>shadow</style>
  546.         <showName> <true /> </showName>
  547.         <highlight> <false /> </highlight>
  548.         <autoHighlight> <true /> </autoHighlight>
  549.         <sharedHighlight> <true /> </sharedHighlight>
  550.         <family>0</family>
  551.         <titleWidth>0</titleWidth>
  552.         <icon>0</icon>
  553.         <textAlign>center</textAlign>
  554.         <font>Geneva</font>
  555.         <textSize>10</textSize>
  556.         <textStyle>plain</textStyle>
  557.         <name>Return to First Card</name>
  558.         <script>on mouseUp
  559. go first card
  560. end mouseUp
  561. </script>
  562.     </part>
  563.     <content>
  564.         <layer>background</layer>
  565.         <id>37</id>
  566.         <text>Click the user level you want:</text>
  567.     </content>
  568.     <content>
  569.         <layer>background</layer>
  570.         <id>24</id>
  571.         <text> Preferences</text>
  572.     </content>
  573.     <content>
  574.         <layer>card</layer>
  575.         <id>19</id>
  576.         <text>3</text>
  577.     </content>
  578.     <content>
  579.         <layer>card</layer>
  580.         <id>28</id>
  581.         <text>Use the Paint tools to change the appearance of cards and backgrounds.</text>
  582.     </content>
  583.     <content>
  584.         <layer>card</layer>
  585.         <id>29</id>
  586.         <text>Enter and edit text in fields.</text>
  587.     </content>
  588.     <content>
  589.         <layer>card</layer>
  590.         <id>30</id>
  591.         <text>Explore stacks but make no changes.</text>
  592.     </content>
  593.     <content>
  594.         <layer>background</layer>
  595.         <id>54</id>
  596.         <text>Other settings:</text>
  597.     </content>
  598.     <content>
  599.         <layer>card</layer>
  600.         <id>76</id>
  601.         <text>false</text>
  602.     </content>
  603.     <name>User Preferences</name>
  604.     <script>‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû
  605. Script of Card: User Preferences
  606.  
  607. THE MESSAGE HANDLERS IN THIS SCRIPT:
  608. openCard,updateDisplay
  609. ‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû
  610.  
  611. on openCard
  612. if the userLevel ‚↠card field "User Level" -- hidden on this card
  613. then updateDisplay the userLevel -- set display to match userLevel
  614. pass openCard -- so others can use the message
  615. end openCard
  616.  
  617. on updateDisplay whatLevel
  618. -- Requires handlers: disallowInterruption,allowInterruption
  619. global UserName
  620. lock screen
  621. set cursor to watch
  622. disallowInterruption
  623. set the userLevel to whatLevel
  624. put min(whatLevel,3) into whatLevel
  625. if UserName is not empty then put UserName into cd field "User Name"
  626. put whatLevel into cd field "User Level" -- hidden on this card
  627. set top of cd btn "Arrow" to top of cd btn ("UserLevel" && whatLevel)
  628. repeat with count = 1 to 3
  629. put "UserLevel" && count into btnName
  630. set hilite of cd btn btnName to not (count > whatLevel)
  631. end repeat
  632. set visible of card btn id 3 to whatLevel ‚â• 3 -- Power Keys
  633. set hilite of card btn id 3 to the powerKeys
  634. set visible of card btn id 2 to whatLevel ‚â• 2 -- Arrow keys in text
  635. set hilite of card btn id 2 to the textArrows
  636. unlock screen
  637. allowInterruption
  638. end updateDisplay
  639.  
  640. </script>
  641. </card>
  642.  
  643.  
  644. card_3090.xml
  645. <?xml version="1.0" encoding="utf-8" ?>
  646. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  647. <card>
  648.     <id>3090</id>
  649.     <filler1>0</filler1>
  650.     <cantDelete> <true /> </cantDelete>
  651.     <showPict> <true /> </showPict>
  652.     <dontSearch> <false /> </dontSearch>
  653.     <owner>16078</owner>
  654.     <link rel="stylesheet" type="text/css" href="stylesheet_4802.css" />
  655.     <content>
  656.         <layer>background</layer>
  657.         <id>37</id>
  658.         <text>HyperCard uses the information in the field 
  659. below to find your documents. </text>
  660.     </content>
  661.     <content>
  662.         <layer>background</layer>
  663.         <id>53</id>
  664.         <text>
  665.  
  666. This field will be a shared field when the time is right.  In the meantime, I didn't want to copy the same text into this bkgnd field because I was afraid I might forget to make this a shared field later.  See this field on the "stacks" card for the real info.
  667.  
  668. Consider this feature "under construction"</text>
  669.     </content>
  670.     <content>
  671.         <layer>background</layer>
  672.         <id>50</id>
  673.         <highlight> <true /> </highlight>
  674.     </content>
  675.     <name>Documents</name>
  676.     <script></script>
  677. </card>
  678.  
  679.  
  680. card_3517.xml
  681. <?xml version="1.0" encoding="utf-8" ?>
  682. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  683. <card>
  684.     <id>3517</id>
  685.     <filler1>0</filler1>
  686.     <cantDelete> <true /> </cantDelete>
  687.     <showPict> <true /> </showPict>
  688.     <dontSearch> <false /> </dontSearch>
  689.     <owner>16078</owner>
  690.     <link rel="stylesheet" type="text/css" href="stylesheet_4802.css" />
  691.     <content>
  692.         <layer>background</layer>
  693.         <id>53</id>
  694.         <text>
  695.  
  696. This field will be a shared field when the time is right.  In the meantime, I didn't want to copy the same text into this bkgnd field because I was afraid I might forget to make this a shared field later.  See this field on the "stacks" card for the real info.
  697.  
  698. Consider this feature "under construction"
  699.  
  700.  
  701. </text>
  702.     </content>
  703.     <content>
  704.         <layer>background</layer>
  705.         <id>48</id>
  706.         <highlight> <true /> </highlight>
  707.     </content>
  708.     <content>
  709.         <layer>background</layer>
  710.         <id>37</id>
  711.         <text>HyperCard uses the information in the field 
  712. below to find your applications. </text>
  713.     </content>
  714.     <name>Applications</name>
  715.     <script></script>
  716. </card>
  717.  
  718.  
  719. card_2376.xml
  720. <?xml version="1.0" encoding="utf-8" ?>
  721. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  722. <card>
  723.     <id>2376</id>
  724.     <filler1>0</filler1>
  725.     <cantDelete> <true /> </cantDelete>
  726.     <showPict> <true /> </showPict>
  727.     <dontSearch> <false /> </dontSearch>
  728.     <owner>16078</owner>
  729.     <link rel="stylesheet" type="text/css" href="stylesheet_4802.css" />
  730.     <part>
  731.         <id>14</id>
  732.         <type>field</type>
  733.         <visible> <false /> </visible>
  734.         <dontWrap> <false /> </dontWrap>
  735.         <dontSearch> <false /> </dontSearch>
  736.         <sharedText> <false /> </sharedText>
  737.         <fixedLineHeight> <true /> </fixedLineHeight>
  738.         <autoTab> <false /> </autoTab>
  739.         <lockText> <false /> </lockText>
  740.         <rect>
  741.             <left>19</left>
  742.             <top>148</top>
  743.             <right>497</right>
  744.             <bottom>265</bottom>
  745.         </rect>
  746.         <style>scrolling</style>
  747.         <autoSelect> <false /> </autoSelect>
  748.         <showLines> <false /> </showLines>
  749.         <wideMargins> <true /> </wideMargins>
  750.         <multipleLines> <false /> </multipleLines>
  751.         <reservedFamily> 0 </reservedFamily>
  752.         <titleWidth>0</titleWidth>
  753.         <icon>0</icon>
  754.         <textAlign>left</textAlign>
  755.         <font>Geneva</font>
  756.         <textSize>10</textSize>
  757.         <textStyle>plain</textStyle>
  758.         <textHeight>13</textHeight>
  759.         <name>Documents</name>
  760.         <script></script>
  761.     </part>
  762.     <part>
  763.         <id>15</id>
  764.         <type>field</type>
  765.         <visible> <false /> </visible>
  766.         <dontWrap> <false /> </dontWrap>
  767.         <dontSearch> <false /> </dontSearch>
  768.         <sharedText> <false /> </sharedText>
  769.         <fixedLineHeight> <true /> </fixedLineHeight>
  770.         <autoTab> <false /> </autoTab>
  771.         <lockText> <false /> </lockText>
  772.         <rect>
  773.             <left>19</left>
  774.             <top>148</top>
  775.             <right>497</right>
  776.             <bottom>265</bottom>
  777.         </rect>
  778.         <style>scrolling</style>
  779.         <autoSelect> <false /> </autoSelect>
  780.         <showLines> <false /> </showLines>
  781.         <wideMargins> <true /> </wideMargins>
  782.         <multipleLines> <false /> </multipleLines>
  783.         <reservedFamily> 0 </reservedFamily>
  784.         <titleWidth>0</titleWidth>
  785.         <icon>0</icon>
  786.         <textAlign>left</textAlign>
  787.         <font>Geneva</font>
  788.         <textSize>10</textSize>
  789.         <textStyle>plain</textStyle>
  790.         <textHeight>13</textHeight>
  791.         <name>Applications</name>
  792.         <script></script>
  793.     </part>
  794.     <content>
  795.         <layer>card</layer>
  796.         <id>14</id>
  797.         <text>documents</text>
  798.     </content>
  799.     <content>
  800.         <layer>card</layer>
  801.         <id>15</id>
  802.         <text>applications</text>
  803.     </content>
  804.     <content>
  805.         <layer>background</layer>
  806.         <id>37</id>
  807.         <text>HyperCard uses the information in the field 
  808. below to find your stacks.</text>
  809.     </content>
  810.     <content>
  811.         <layer>background</layer>
  812.         <id>53</id>
  813.         <text>
  814.  
  815. Each line on this card indicates the location of a folder, including the disk name (and folder name, and subfolder names, if appropriate).  These locations are called search paths.  Each name in a search path is separated by a colon.
  816.  
  817. When you tell HyperCard to open a stack, document, or application, it looks for the file you want by searching through the folders listed on this card. 
  818.  
  819. If HyperCard can‚Äôt find the file, it displays the directory dialog box.  Once you‚Äôve located the file, HyperCard records the file‚Äôs location on this card.  The next time you ask for the file, HyperCard will know where to look for it.
  820.  
  821. You can type folder locations on this card to tell HyperCard where to look for your files, for example:
  822.  
  823. my disk:hypercard folder:my stacks:
  824. </text>
  825.     </content>
  826.     <content>
  827.         <layer>background</layer>
  828.         <id>49</id>
  829.         <highlight> <true /> </highlight>
  830.     </content>
  831.     <name>Stacks</name>
  832.     <script></script>
  833. </card>
  834.  
  835.  
  836. card_4894.xml
  837. <?xml version="1.0" encoding="utf-8" ?>
  838. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  839. <card>
  840.     <id>4894</id>
  841.     <filler1>0</filler1>
  842.     <bitmap>BMAP_7612.pbm</bitmap>
  843.     <cantDelete> <true /> </cantDelete>
  844.     <showPict> <true /> </showPict>
  845.     <dontSearch> <false /> </dontSearch>
  846.     <owner>2717</owner>
  847.     <link rel="stylesheet" type="text/css" href="stylesheet_4802.css" />
  848.     <part>
  849.         <id>237</id>
  850.         <type>field</type>
  851.         <visible> <true /> </visible>
  852.         <dontWrap> <false /> </dontWrap>
  853.         <dontSearch> <false /> </dontSearch>
  854.         <sharedText> <false /> </sharedText>
  855.         <fixedLineHeight> <true /> </fixedLineHeight>
  856.         <autoTab> <false /> </autoTab>
  857.         <lockText> <true /> </lockText>
  858.         <rect>
  859.             <left>29</left>
  860.             <top>78</top>
  861.             <right>345</right>
  862.             <bottom>265</bottom>
  863.         </rect>
  864.         <style>transparent</style>
  865.         <autoSelect> <false /> </autoSelect>
  866.         <showLines> <false /> </showLines>
  867.         <wideMargins> <true /> </wideMargins>
  868.         <multipleLines> <false /> </multipleLines>
  869.         <reservedFamily> 0 </reservedFamily>
  870.         <titleWidth>0</titleWidth>
  871.         <icon>0</icon>
  872.         <textAlign>left</textAlign>
  873.         <font>Palatino</font>
  874.         <textSize>12</textSize>
  875.         <textStyle>plain</textStyle>
  876.         <textHeight>16</textHeight>
  877.         <name></name>
  878.         <script></script>
  879.     </part>
  880.     <part>
  881.         <id>246</id>
  882.         <type>field</type>
  883.         <visible> <true /> </visible>
  884.         <dontWrap> <false /> </dontWrap>
  885.         <dontSearch> <false /> </dontSearch>
  886.         <sharedText> <false /> </sharedText>
  887.         <fixedLineHeight> <true /> </fixedLineHeight>
  888.         <autoTab> <false /> </autoTab>
  889.         <lockText> <true /> </lockText>
  890.         <rect>
  891.             <left>26</left>
  892.             <top>49</top>
  893.             <right>355</right>
  894.             <bottom>76</bottom>
  895.         </rect>
  896.         <style>transparent</style>
  897.         <autoSelect> <false /> </autoSelect>
  898.         <showLines> <false /> </showLines>
  899.         <wideMargins> <false /> </wideMargins>
  900.         <multipleLines> <false /> </multipleLines>
  901.         <reservedFamily> 0 </reservedFamily>
  902.         <titleWidth>0</titleWidth>
  903.         <icon>0</icon>
  904.         <textAlign>center</textAlign>
  905.         <font>Palatino</font>
  906.         <textSize>18</textSize>
  907.         <textStyle>plain</textStyle>
  908.         <textHeight>24</textHeight>
  909.         <name></name>
  910.         <script></script>
  911.     </part>
  912.     <part>
  913.         <id>247</id>
  914.         <type>button</type>
  915.         <visible> <true /> </visible>
  916.         <reserved5> 0 </reserved5>
  917.         <reserved4> 0 </reserved4>
  918.         <reserved3> 0 </reserved3>
  919.         <reserved2> 0 </reserved2>
  920.         <reserved1> 0 </reserved1>
  921.         <enabled> <true /> </enabled>
  922.         <rect>
  923.             <left>10</left>
  924.             <top>304</top>
  925.             <right>39</right>
  926.             <bottom>333</bottom>
  927.         </rect>
  928.         <style>opaque</style>
  929.         <showName> <false /> </showName>
  930.         <highlight> <false /> </highlight>
  931.         <autoHighlight> <false /> </autoHighlight>
  932.         <sharedHighlight> <true /> </sharedHighlight>
  933.         <family>0</family>
  934.         <titleWidth>0</titleWidth>
  935.         <icon>0</icon>
  936.         <textAlign>center</textAlign>
  937.         <font>Chicago</font>
  938.         <textSize>12</textSize>
  939.         <textStyle>plain</textStyle>
  940.         <name></name>
  941.         <script></script>
  942.     </part>
  943.     <part>
  944.         <id>248</id>
  945.         <type>button</type>
  946.         <visible> <true /> </visible>
  947.         <reserved5> 0 </reserved5>
  948.         <reserved4> 0 </reserved4>
  949.         <reserved3> 0 </reserved3>
  950.         <reserved2> 0 </reserved2>
  951.         <reserved1> 0 </reserved1>
  952.         <enabled> <true /> </enabled>
  953.         <rect>
  954.             <left>472</left>
  955.             <top>301</top>
  956.             <right>501</right>
  957.             <bottom>333</bottom>
  958.         </rect>
  959.         <style>opaque</style>
  960.         <showName> <false /> </showName>
  961.         <highlight> <false /> </highlight>
  962.         <autoHighlight> <false /> </autoHighlight>
  963.         <sharedHighlight> <true /> </sharedHighlight>
  964.         <family>0</family>
  965.         <titleWidth>0</titleWidth>
  966.         <icon>0</icon>
  967.         <textAlign>center</textAlign>
  968.         <font>Chicago</font>
  969.         <textSize>12</textSize>
  970.         <textStyle>plain</textStyle>
  971.         <name></name>
  972.         <script></script>
  973.     </part>
  974.     <part>
  975.         <id>251</id>
  976.         <type>field</type>
  977.         <visible> <true /> </visible>
  978.         <dontWrap> <false /> </dontWrap>
  979.         <dontSearch> <false /> </dontSearch>
  980.         <sharedText> <false /> </sharedText>
  981.         <fixedLineHeight> <true /> </fixedLineHeight>
  982.         <autoTab> <false /> </autoTab>
  983.         <lockText> <true /> </lockText>
  984.         <rect>
  985.             <left>34</left>
  986.             <top>272</top>
  987.             <right>325</right>
  988.             <bottom>286</bottom>
  989.         </rect>
  990.         <style>transparent</style>
  991.         <autoSelect> <false /> </autoSelect>
  992.         <showLines> <false /> </showLines>
  993.         <wideMargins> <false /> </wideMargins>
  994.         <multipleLines> <false /> </multipleLines>
  995.         <reservedFamily> 0 </reservedFamily>
  996.         <titleWidth>0</titleWidth>
  997.         <icon>0</icon>
  998.         <textAlign>left</textAlign>
  999.         <font>Geneva</font>
  1000.         <textSize>9</textSize>
  1001.         <textStyle>plain</textStyle>
  1002.         <textHeight>12</textHeight>
  1003.         <name>Copyright</name>
  1004.         <script></script>
  1005.     </part>
  1006.     <part>
  1007.         <id>263</id>
  1008.         <type>button</type>
  1009.         <visible> <true /> </visible>
  1010.         <reserved5> 0 </reserved5>
  1011.         <reserved4> 0 </reserved4>
  1012.         <reserved3> 0 </reserved3>
  1013.         <reserved2> 0 </reserved2>
  1014.         <reserved1> 0 </reserved1>
  1015.         <enabled> <true /> </enabled>
  1016.         <rect>
  1017.             <left>375</left>
  1018.             <top>85</top>
  1019.             <right>489</right>
  1020.             <bottom>137</bottom>
  1021.         </rect>
  1022.         <style>transparent</style>
  1023.         <showName> <true /> </showName>
  1024.         <highlight> <false /> </highlight>
  1025.         <autoHighlight> <true /> </autoHighlight>
  1026.         <sharedHighlight> <true /> </sharedHighlight>
  1027.         <family>0</family>
  1028.         <titleWidth>0</titleWidth>
  1029.         <icon>30215</icon>
  1030.         <textAlign>center</textAlign>
  1031.         <font>Chicago</font>
  1032.         <textSize>12</textSize>
  1033.         <textStyle>plain</textStyle>
  1034.         <name>What is HyperCard?</name>
  1035.         <script>on mouseUp
  1036. set cursor to watch
  1037. go to stack "What is HyperCard?" -- ‚àÜ
  1038. end mouseUp</script>
  1039.     </part>
  1040.     <part>
  1041.         <id>241</id>
  1042.         <type>button</type>
  1043.         <visible> <true /> </visible>
  1044.         <reserved5> 0 </reserved5>
  1045.         <reserved4> 0 </reserved4>
  1046.         <reserved3> 0 </reserved3>
  1047.         <reserved2> 0 </reserved2>
  1048.         <reserved1> 0 </reserved1>
  1049.         <enabled> <true /> </enabled>
  1050.         <rect>
  1051.             <left>375</left>
  1052.             <top>157</top>
  1053.             <right>489</right>
  1054.             <bottom>209</bottom>
  1055.         </rect>
  1056.         <style>transparent</style>
  1057.         <showName> <true /> </showName>
  1058.         <highlight> <false /> </highlight>
  1059.         <autoHighlight> <true /> </autoHighlight>
  1060.         <sharedHighlight> <true /> </sharedHighlight>
  1061.         <family>0</family>
  1062.         <titleWidth>0</titleWidth>
  1063.         <icon>24081</icon>
  1064.         <textAlign>center</textAlign>
  1065.         <font>Chicago</font>
  1066.         <textSize>12</textSize>
  1067.         <textStyle>plain</textStyle>
  1068.         <name>Addresses</name>
  1069.         <script>on mouseUp
  1070. set cursor to watch
  1071. go to stack "Addresses" -- ‚àÜ
  1072. end mouseUp</script>
  1073.     </part>
  1074.     <part>
  1075.         <id>261</id>
  1076.         <type>button</type>
  1077.         <visible> <true /> </visible>
  1078.         <reserved5> 0 </reserved5>
  1079.         <reserved4> 0 </reserved4>
  1080.         <reserved3> 0 </reserved3>
  1081.         <reserved2> 0 </reserved2>
  1082.         <reserved1> 0 </reserved1>
  1083.         <enabled> <true /> </enabled>
  1084.         <rect>
  1085.             <left>375</left>
  1086.             <top>229</top>
  1087.             <right>489</right>
  1088.             <bottom>281</bottom>
  1089.         </rect>
  1090.         <style>transparent</style>
  1091.         <showName> <true /> </showName>
  1092.         <highlight> <false /> </highlight>
  1093.         <autoHighlight> <true /> </autoHighlight>
  1094.         <sharedHighlight> <true /> </sharedHighlight>
  1095.         <family>0</family>
  1096.         <titleWidth>0</titleWidth>
  1097.         <icon>28226</icon>
  1098.         <textAlign>center</textAlign>
  1099.         <font>Chicago</font>
  1100.         <textSize>12</textSize>
  1101.         <textStyle>plain</textStyle>
  1102.         <name>Audio Help</name>
  1103.         <script>on mouseUp
  1104. set cursor to watch
  1105. go to stack "Audio Help" -- ‚àÜ
  1106. end mouseUp</script>
  1107.     </part>
  1108.     <content>
  1109.         <layer>card</layer>
  1110.         <id>237</id>
  1111.         <text><span class="style23">     HyperCard is a unique software tool that allows you to do more with your computer. 
  1112.  
  1113.       With HyperCard, you use documents called </span><span class="style20">stacks</span><span class="style23">. Stacks can help you do many different things‚Äîfor example, you could use a stack to keep track of your appointments, manage your expenses, learn a new language, or record and play sounds.  
  1114.  
  1115. To learn more, click ‚ÄúWhat is HyperCard?,‚Äù to the right.
  1116. </span></text>
  1117.     </content>
  1118.     <content>
  1119.         <layer>card</layer>
  1120.         <id>246</id>
  1121.         <text><span class="style23">elcome to HyperCard
  1122. </span></text>
  1123.     </content>
  1124.     <content>
  1125.         <layer>card</layer>
  1126.         <id>251</id>
  1127.         <text>¬©1993-1995 Apple Computer, Inc. All Rights Reserved.</text>
  1128.     </content>
  1129.     <name>Welcome to...</name>
  1130.     <script></script>
  1131. </card>
  1132.  
  1133.  
  1134.